Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  List  Logical  Disk  Drive  Properties  

 Content of List Logical Disk Drive Properties.ps1
MD5 Hash: 2CF7C50E50414B78CD2BFC759997F9E2
$strComputer = "."

$colItems = get-wmiobject -class "Win32_LogicalDisk" -namespace "root\CIMV2" `
-computername $strComputer

foreach ($objItem in $colItems) {
write-host "Access: " $objItem.Access
write-host "Availability: " $objItem.Availability
write-host "Block Size: " $objItem.BlockSize
write-host "Caption: " $objItem.Caption
write-host "Compressed: " $objItem.Compressed
write-host "Configuration Manager Error Code: " $objItem.ConfigManagerErrorCode
write-host "Configuration Manager User Configuration: " $objItem.ConfigManagerUserConfig
write-host "Creation Class Name: " $objItem.CreationClassName
write-host "Description: " $objItem.Description
write-host "Device ID: " $objItem.DeviceID
write-host "Drive Type: " $objItem.DriveType
write-host "Error Cleared: " $objItem.ErrorCleared
write-host "Error Description: " $objItem.ErrorDescription
write-host "Error Methodology: " $objItem.ErrorMethodology
write-host "File System: " $objItem.FileSystem
write-host "Free Space: " $objItem.FreeSpace
write-host "Installation Date: " $objItem.InstallDate
write-host "Last Error Code: " $objItem.LastErrorCode
write-host "Maximum Component Length: " $objItem.MaximumComponentLength
write-host "Media Type: " $objItem.MediaType
write-host "Name: " $objItem.Name
write-host "Number Of Blocks: " $objItem.NumberOfBlocks
write-host "PNP Device ID: " $objItem.PNPDeviceID
write-host "Power Management Capabilities: " $objItem.PowerManagementCapabilities
write-host "Power Management Supported: " $objItem.PowerManagementSupported
write-host "Provider Name: " $objItem.ProviderName
write-host "Purpose: " $objItem.Purpose
write-host "Quotas Disabled: " $objItem.QuotasDisabled
write-host "Quotas Incomplete: " $objItem.QuotasIncomplete
write-host "Quotas Rebuilding: " $objItem.QuotasRebuilding
write-host "Size: " $objItem.Size
write-host "Status: " $objItem.Status
write-host "Status Information: " $objItem.StatusInfo
write-host "Supports Disk Quotas: " $objItem.SupportsDiskQuotas
write-host "Supports File-Based Compression: " $objItem.SupportsFileBasedCompression
write-host "System Creation Class Name: " $objItem.SystemCreationClassName
write-host "System Name: " $objItem.SystemName
write-host "Volume Dirty: " $objItem.VolumeDirty
write-host "Volume Name: " $objItem.VolumeName
write-host "Volume Serial Number: " $objItem.VolumeSerialNumber
write-host
}


   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a